package io.renren.modules.job.task;

import io.renren.modules.psorder.service.PsOrderService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by WDJ on 2018/3/26.
 */
@Component("psOrderTask")
public class PsOrderTask {

    private Logger logger = LoggerFactory.getLogger(getClass());

    @Autowired
    private PsOrderService psOrderService;

    /**
     * 提醒到时间的所有预约订单
     */
    public void remindAllAppointPsOrder() {
        logger.info("提醒到时间的所有预约订单");
        psOrderService.remindAllAppointPsOrder();
    }

















}
